/*
 * 人人信用管理有限公司版权所有.
 * 
 * @Description:
 * 
 * @author: liyuliang
 * 
 * @date: 20 Apr 2017 8:33:42 pm 注意：本内容仅限于人人信用管理有限公司内部传阅，禁止外泄以及用于其他的商业目的.
 */

package com.rrx360.common.config;

import org.apache.commons.configuration.Configuration;

/**
 * @author liyuliang
 *
 */
public class ConfigChangeEvent {

  private String oldValue;

  private String newValue;

  private Configuration oldConfig;

  private Configuration newConfig;

  public ConfigChangeEvent() {

  }

  public ConfigChangeEvent(String oldValue, String newValue, Configuration oldConfig,
      Configuration newConfig) {
    this.oldValue = oldValue;
    this.newValue = newValue;
    this.oldConfig = oldConfig;
    this.newConfig = newConfig;
  }

  public String getOldValue() {
    return oldValue;
  }

  public void setOldValue(String oldValue) {
    this.oldValue = oldValue;
  }

  public String getNewValue() {
    return newValue;
  }

  public void setNewValue(String newValue) {
    this.newValue = newValue;
  }

  public Configuration getOldConfig() {
    return oldConfig;
  }

  public void setOldConfig(Configuration oldConfig) {
    this.oldConfig = oldConfig;
  }

  public Configuration getNewConfig() {
    return newConfig;
  }

  public void setNewConfig(Configuration newConfig) {
    this.newConfig = newConfig;
  }



}
